﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;

namespace ServisniList
{
    public partial class OAplikaciji : Form
    {
        #region Constructor
        
        public OAplikaciji()
        {
            InitializeComponent();
            Version version = Assembly.GetEntryAssembly().GetName().Version;
            lblVerzijaVrijednost.Text = version.ToString();
        } 

        #endregion

        #region Evene handlers

        protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);
            if (e.KeyCode == Keys.Escape)
                this.Close();
        }

        #endregion

    }
}
